.full {
    &-h {
        height: 100%;
    }
    &-w {
        width: 100%;
    }
}
.mt {
    &5 {
        margin-top: 5px !important;
    }
    &10 {
        margin-top: 10px !important;
    }
    &20 {
        margin-top: 20px !important;
    }
    &30 {
        margin-top: 30px !important;
    }
}
.mr {
    &5 {
        margin-right: 5px !important;
    }
    &10 {
        margin-right: 10px !important;
    }
    &20 {
        margin-right: 20px !important;
    }
    &30 {
        margin-right: 30px !important
    }
}
.mb {
    &5 {
        margin-bottom: 5px !important;
    }
    &10 {
        margin-bottom: 10px !important;
    }
    &20 {
        margin-bottom: 20px !important;
    }
    &30 {
        margin-bottom: 30px !important;
    }
}
.ml {
    &5 {
        margin-left: 5px !important;
    }
    &10 {
        margin-left: 10px !important;
    }
    &20 {
        margin-left: 20px !important;
    }
    &30 {
        margin-left: 30px !important;
    }
}

.pt {
    &10 {
        padding-top: 10px !important;
    }
    &20 {
        padding-top: 20px !important;
    }
    &30 {
        padding-top: 30px !important;
    }
}
.pr {
    &10 {
        padding-right: 10px !important;
    }
    &20 {
        padding-right: 20px !important;
    }
    &30 {
        padding-right: 30px !important;
    }
}
.pb {
    &10 {
        padding-bottom: 10px !important;
    }
    &20 {
        padding-bottom: 20px !important;
    }
    &30 {
        padding-bottom: 30px !important;
    }
}
.pl {
    &10 {
        padding-left: 10px !important;
    }
    &20 {
        padding-left: 20px !important;
    }
    &30 {
        padding-left: 30px !important;
    }
}

.img-12 {
    width: 12px;
    height: 12px;
}
.img-14 {
    width: 14px;
    height: 14px;
}
.img-16 {
    width: 16px;
    height: 16px;
}
.img-18 {
    width: 18px;
    height: 18px;
}
.img-20 {
    width: 20px;
    height: 20px;
}
.img-24 {
    width: 24px;
    height: 24px;
}

.flex {
    display: flex;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-align {
    display: flex;
    align-items: center;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex-baseline {
    display: flex;
    align-items: baseline;
}
.flex-col {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
/* 自动换行 */
.flex-parent {
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
    align-content: flex-start;
}

.font-14 {
    font-size: 14px;
}
.font-16 {
    font-size: 16px;
}
.font-18 {
    font-size: 18px;
}
.font-20 {
    font-size: 20px;
}
.font-24 {
    font-size: 24px;
}

.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}

/** 过长文字隐藏 **/
.long-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
/** 中英文换行 */
.break-word {
    word-wrap: break-word;
    word-break: break-all;
}

.pointer {
    cursor: pointer;
}

// 可以把 块容器 中的内容限制为指定的行数。并且在超过行数后，在最后一行显示"..."
.max-hide {
    display: -webkit-box;
    -webkit-box-orient: vertical; /*值必须为vertical*/
    -webkit-line-clamp: 2; /*值为数字，表示一共显示几行*/
    overflow: hidden;
}

.bold {
    font-weight: bold;
}

.triangle {
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top-color: red;
}